

package programas;

public class Main_1_1 {

   
    public static void main(String[] args) {
       String x= "666";
       int s =Integer.parseInt(x);

       System.out.println("Int: "+ x);


       Double b = new Double(s);
        System.out.println("Double: "+b );


        Byte n=new Byte(b.byteValue());
        System.out.println("Byte: "+n);

        
        Float v = new Float(n);
        System.out.println("Float: "+v);

        Integer k=new Integer(v.intValue());
        System.out.println("Integer: "+k);

        Short l= new Short(k.shortValue());
        System.out.println("Short: "+ l);

        Long m = new Long(l.longValue());
        System.out.println("Long: "+m);
boolean z= Boolean.parseBoolean(l.toString());
        System.out.println("Boolean: "+z);

///este metodo es le las conversiones de cada uno a cada tipo
    }

}
